package com.keeson.android_cli.api;

import com.keeson.android_cli.base.BaseRespose;
import com.keeson.android_cli.bean.EmptyObj;
import com.keeson.android_cli.bean.PressureInfo;
import com.keeson.android_cli.bean.request.LoginRequest;
import com.keeson.android_cli.bean.request.ModifyBedMattressRequest;
import com.keeson.android_cli.entity.BedBindInfo;
import com.keeson.android_cli.entity.UserInfo;
import java.util.ArrayList;
import java.util.Map;
import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by jiaqiZHou
 * on 2020/12/4
 */
public interface ApiService {

    /**************************************************User*********************************************************************************/

    /**
     * 获取验证码
     */
    @Headers({"url_name:baseUrl"})
    @GET("/api/v2/user/requestVerificationCode")
    Observable<BaseRespose<EmptyObj>> getCode(@Query("phone") String phone, @Query("area_code") String area_code);


}
